<%@page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/taglib.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${page.pageName}</title>
<%@include file="/common/public.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/css/main.css">
<link rel="stylesheet" type="text/css" href="${ctx}/css/query.css">
<script type="text/javascript">
window.Action = {};
Action.save = function(){
	jQuery("form:first").submit();
};
jQuery( function(){
	if( "${page.autoQuery}" == "true" ){
	    startAction("qry");
		Action.qry();
	}
});
</script>
</head>
<body>
<e:form name="QryForm" action="/page/config/queryConfigList.do" target="ListWindow">
<table class="xtable">
	<tbody id="QryArea">
		<tr>
			<td>
				<table class="qry_bg">
					<tr>
						<td colspan="2">
						查询名称：<input type="text" name="itemName" style="width:100px"/>
						</td>
						<td>
							<input name="QryButton" type="button" class="btn_orange_b2" value="查 询" onClick="Action.qry()"/>
							<input name="QryButton" type="button" class="btn_orange_b2" value="新 增" onClick="Action.add()"/>
						</td>
					</tr>
					<tr class="qry_hr">
							<td colspan="2"></td>
					</tr>
				</table>
			</td>
		</tr>
	</tbody>
	<script type="text/javascript">
		jQuery( function(){
			if( "${isQry}" == "false")
				jQuery("#QryArea").hide();
		});
	</script>
	<tr>
		<td class="qry_frame">
			<iframe src="${ctx}/page/config/queryConfigList.jsp" name="ListWindow"
				          width="100%" height="100%" scrolling="no" frameborder="0">
			</iframe>
		</td>
	</tr>
</table>
</e:form>
</body>
</html>